// 推荐接口
import request from "./http";
// http://192.168.110.2:3000/banner
// 获取轮播图数据
export function getBanner(){
    return request({
        url:"/banner?type=3",
        method:"get",
    })
}

// 获取推荐歌单数据
export function getPersonalizedr(){
    return request({
        url:"/personalized?limit=15",
        method:"get",
    })
}
//获取音乐街数据
//获取排行歌单
export function getrankingList(){
    return request({
        url:"/toplist",
        method:"get"
    })
} 
export function getStreet(params){
    return request({
        url:"/playlist/detail",
        method:"get",
        params
    })
}

//获取精品歌单
export function getTopplay(params){
    return request({
        url:"/top/playlist/highquality",
        method:"get",
        params
    })
}

// 推荐mv
export function gettotomv(params){
    return request({
        url:"/personalized/mv",
        method:"get",
        params:{
          limit:1,
          offset:1,
          params
        }
    })
}
//mv地址
export function getmvlist(params){
    return request({
        url:"/mv/url",
        method:"get",
        params
    })
}

